package com.hotelsystem.pojo;

public class OrderDetail {
    private Integer orderDetailId;

    private Orders orders;

    private String goodsName;

    private Double goodsPrice;

    private String checkInDuration;

    private Double price;


    public Integer getOrderDetailId() {
        return orderDetailId;
    }

    public void setOrderDetailId(Integer orderDetailId) {
        this.orderDetailId = orderDetailId;
    }

    public Orders getOrders() {
        return orders;
    }

    public void setOrders(Orders orders) {
        this.orders = orders;
    }

    public Double getPrice() {
        return price;
    }

    public void setPrice(Double price) {
        this.price = price;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public Double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(Double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public String getCheckInDuration() {
        return checkInDuration;
    }

    public void setCheckInDuration(String checkInDuration) {
        this.checkInDuration = checkInDuration;
    }

    @Override
    public String toString() {
        return "OrderDetail{" +
                "orderDetailId=" + orderDetailId +
                ", orders=" + orders +
                ", goodsName='" + goodsName + '\'' +
                ", goodsPrice=" + goodsPrice +
                ", checkInDuration=" + checkInDuration +
                ", price=" + price +
                '}';
    }

    public OrderDetail() {
    }

    public OrderDetail(Integer orderDetailId, Orders orders, String goodsName, Double goodsPrice, String checkInDuration, Double price) {
        this.orderDetailId = orderDetailId;
        this.orders = orders;
        this.goodsName = goodsName;
        this.goodsPrice = goodsPrice;
        this.checkInDuration = checkInDuration;
        this.price = price;
    }
}